<?php echo $this->load->view('_elements/registratednavigation'); ?>

<div id="content">

    <div id="centerbar">
        <?php if(empty($message_error)):?>
        <div class="titleI"><?php echo $Title; ?></div>
        <div id="abForm" class="blockstyle form">
        	<div id="prID_Status" class="formElement">
        	
        		<?php echo form_open($this->curl.'/accept_bid/'.$referral_no.'/'.$bid_id, 'id="myform" name="myform" autocomplete="off"')?>
				<?php echo $this->validation->error_string?>

				<div class="blue formText"><?php echo $this->user_model->fields['member_id']; ?></div>
				<?php echo form_input('member_id', 'M'.$member_id, 'id="prMemberId" class="formInput" style="width:100px;" disabled="disabled"')?>
				<div class="blue formText"><?php echo $this->user_model->fields['status']; ?></div>
				<?php echo form_input('status', $status, 'id="prStatus" class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="prReferral_Date" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['referral_no']; ?></div>
				<?php echo form_input('referral_no', $referral_no, 'id="prReferralNo" class="formInput" style="width:100px;" disabled="disabled"')?>
				<div class="blue formText"><?php echo $this->user_model->fields['date_posted']; ?></div>
				<?php echo form_input('date_posted', $date_posted, 'id="prDatePosted" class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="prReferralAbstract" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['referral_abstract']; ?></div>
				<?php echo form_input('referral_abstract', $referral_abstract, 'class="formInput" style="width:550px;" disabled="disabled"')?>
			</div>
			<div id="prBidderID" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['bidder_id']; ?></div>
				<?php echo form_input('bidder_id', 'M'.$bidder_id, 'class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="prAcceptedBid" class="formElement">
				<div class="blue formText"><?php echo $this->user_model->fields['accepted_bid']; ?></div>
				<?php echo form_input('accepted_bid', $accepted_bid, 'id="prDatePosted" class="formInput" style="width:100px;" disabled="disabled"')?>
			</div>
			<div id="formTextDeccription" class="formElement">
				 <div class="lightred justify">
                    <?php T_('Once you click Accept your payment method wll be charged and the funds transferred to Bidder. You will see payment status in your Payment History window.')?>
                 </div>
			</div>
			<input type="submit" value="<?php echo T_('ACCEPT'); ?>" name="submit" id="prAccept" class="red buttonStyle"/>
        </div>
        <?php else:?>
            <?php echo $message_error?>
        <?php endif;?>
    </div>
    
 <?php echo $this->load->view('_elements/Followrefs'); ?>
</div>